﻿#pragma once

#include "Object/Object.h"
#include "EditorNotificationItemView.m.h"


class REditorNotificationItemViewModel;
class RWidget;

//一条通知
RCLASS()
class REditorNotificationItemView : public RObject
{
    ROBJECT

public:
    virtual void BindViewModel(TSharedObjectPtr<REditorNotificationItemViewModel> InViewModel);

    //在通知窗口中创建控件
    virtual void FillWidget(
        TSharedObjectPtr<RWidget> InParentWidget
        );

protected:
    TWeakObjectPtr<REditorNotificationItemViewModel> ViewModel;

};